<ion-view view-title="登录" class="plm-app-back">
<!--	<ion-header-bar align="center" class="bar-positive">
		<h1 class="title">登录</h1>
	</ion-header-bar>-->
	<ion-content ng-class="views.moveStyle">
		<div class="plm-login-banner" style="width: 100%;height: 40%;text-align: center;vertical-align: bottom;">
			<img src="img/icon_about_log.png"  style="width: 150px;height: 150px;margin-top: 4%;"/>
		</div>
		<form name="myForm">
			<label class="item plm-label plm-sig plm-start">
				<img  style="display:block;" src="img/icon_name.png"/>
		        <input id="input-name" style="width: 90%; " autocapitalize="off" autocorrect="off" ng-focus="views.moveUp()" ng-blur="views.moveDown()" type="text" placeholder="登录名" ng-model="views.loginName" />
		    </label>
		    
		    <label class="item plm-label plm-sig plm-start">
				<img  style="display:block;" src="img/icon_password.png"/>
		        <input  id="input-pwd" style="width: 90%;" type="password" ng-focus="views.moveUp()" ng-blur="views.moveDown()" placeholder="密码" ng-model="views.passWord">
		    </label>
		    
		    <label class="item plm-label plm-sig plm-start" ng-if="(domainCheck == '1' || domainCheck == '2')">
				<img src="img/domain.png"/>
				<select  ng-model="views.selectedDomain" style="border: hidden;text-align: center;width: 100%;background: white;height: 32px;line-height: 32px;margin-left: 6px;"> 
			      		<option value="{{item.split('(')[1].split(')')[0]}}" ng-repeat="item in domain" ng-selected="0==$index">{{item.split('(')[0]}}</option>
			    </select>
		    </label>
		    
		    <label class="item plm-label plm-sig plm-start" style="background: #E8EBF2;" ng-if="(domainCheck == '2')">
				<input type="checkbox" ng-model="views.isDomainCheck"  ng-true-value="1" ng-false-value="0">域验证
		    </label>
	    </form>
	    
	    <div class="plm-login plm-center" ng-click="views.login()">
	    	<span style="width: 100%;white-space: nowrap;">登 录</span>
	    </div>
	    <div class="plm-center">
	    	<span style="width: 100%; white-space: nowrap; height: 40pt;"></span>
	    </div>
	    <!--<div ng-if="android" class="plm-sever-set" ng-click="views.doServer()">服务器设置</div>-->
	</ion-content>
	<div class="plm-sever-set" ng-click="views.doServer()">服务器设置</div>
</ion-view>